package com.hxzy.shop.commodity.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author tu-jia-hao
 * @Data 2022/8/2 15:09
 */
@Data
public class AddNewClassifiedReq {

    @ApiModelProperty("分类类别 1: 1级分类 2:  2级分类")
    @NotNull
    private Integer isOneOrTwoLevel;

    @NotNull
    @ApiModelProperty("分类名称")
    private String classifiedName;

    @ApiModelProperty(value = "父分类管理id 新增2级分类用新增2级分类时此id必须传")
    private String classifiedManagementId;
}
